package net.ericaro.neojavagen.classes;

/**
 * <b>InitializedVariableDeclaratorId</b> ::= <{@link net .ericaro .neojavagen .classes .VariableDeclaratorId VariableDeclaratorId}> "=" <
 * {@link net .ericaro .neojavagen .classes .VariableInitializer VariableInitializer}>
 * 
 * @author eric@ericaro.net
 */
public class InitializedVariableDeclaratorId extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.classes.VariableDeclarator {
	private net.ericaro.neojavagen.classes.VariableDeclaratorId variableDeclaratorId;

	private net.ericaro.neojavagen.classes.VariableInitializer variableInitializer;

	public InitializedVariableDeclaratorId(net.ericaro.neojavagen.classes.VariableDeclaratorId variableDeclaratorId, net.ericaro.neojavagen.classes.VariableInitializer variableInitializer) {
		super();
		this.variableDeclaratorId = variableDeclaratorId;
		this.variableInitializer = variableInitializer;
	}

	public net.ericaro.neojavagen.classes.VariableDeclaratorId getVariableDeclaratorId() {
		return variableDeclaratorId;
	}

	public net.ericaro.neojavagen.classes.VariableInitializer getVariableInitializer() {
		return variableInitializer;
	}

	public void setVariableDeclaratorId(net.ericaro.neojavagen.classes.VariableDeclaratorId variableDeclaratorId) {
		this.variableDeclaratorId = variableDeclaratorId;
	}

	public void setVariableInitializer(net.ericaro.neojavagen.classes.VariableInitializer variableInitializer) {
		this.variableInitializer = variableInitializer;
	}

	@Override
	public java.lang.String toString() {
		return print(variableDeclaratorId, "=", variableInitializer);
	}
}
